
public class ShapeTest {
	
	public static void main(String[] args) {
		
		System.out.println(args);
		System.out.println(args.length);
		
		Triangle t = new Triangle();
		t.foot = 10;
		t.height = 5;
		System.out.println("삼각형 t의 넓이: " + t.getArea());
		
		Rectangle r = new Rectangle();
		r.width = 3;
		r.height = 5;
		System.out.println("직사각형 r의 넓이: " + r.getArea());
		
		Circle c = new Circle();
		c.radius = 9;
		System.out.println("원 c의 넓이: " + c.getArea());
		
	}
	
}
